package commLogger

func Error(value interface{}) {
	out("ERROR", value)
}

func Info(value interface{}) {
	out("INFO", value)
}

func Warn(value interface{}) {
	out("WARN", value)
}

func Debug(value interface{}) {
	out("DEBUG", value)
}

func out(level string, value interface{}) {
	Console.out(level, value)
	CmdLine.out(level, value)
}
